<div class="user">

   <% form_tag session_url do %>
  		<%= link_to_remote( 
	      	  image_tag(
	      	    thumbnails_url(:image => user_login.image, :w => 80, :h => 106)
	      	  ),
		        :url => {:controller => 'users', :action => 'display_login_fields', :id => user_login.id}
		      ) %>
		
		<div id="user_login_<%= user_login.id %>" class="user_login" style="<%= loginform_style user_login.id %>">
		
		<div class="fullname" id="fullname_<%= user_login.id %>">
		<%= user_login.fullname %>
		</div>
		
		<div class="password" id="password_<%= user_login.id %>">	
		<%= password_field_tag :password, nil, {:size => 14, :id => "password_input_#{user_login.id}"} %>
		</div>

                <%= hidden_field_tag :login, user_login.id %>
		
		<%= submit_tag 'Login', :id => "login_#{user_login.id}" %>
	</div>
  <% end %>
</div>